<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>请假信息管理系统 -- 首页</title>
    <script src="../../js/jquery.min.js"></script>
    <link href="../../css/home.css" rel="stylesheet">
    <link href="../../css/common/common.css" rel="stylesheet">
</head>
<body>
    <!-- 头部 -->
    <header th:insert="~{common/common::header}">
    </header>
    <!-- 左边 -->
    <aside th:insert="~{common/common::aside}">
    </aside>
    <!-- 中间 -->
    <main class="main">
        <div class="card">
            <div style="display: flex;align-items: center;border-left: 5px solid #477EEA;padding-left: 10px">
                <div class="avatar">
                    <img src="../../images/logo.jpeg" alt="Your Avatar">-->
                </div>
                <div style="margin-left: 10px">
                    <span th:text=" '欢迎您！'+${session?.identity} ">欢迎您！！！</span>
                </div>
            </div>
            <div style="width: 100%;height: 38%;display: flex;align-items: center">
                <div class="personInfoBox">
                    <div class="personWord">
                        <img src="../../images/会员注册.png">
                        <span th:text=" 'Your name : '+${session?.username}">Your Name : 123456</span>
                    </div>
                    <div class="personWord">
                        <img src="../../images/铺位组.png">
                        <span th:text="'Your FullName : '+${session?.fullName}">Your FullName : 123456</span>
                    </div>
                    <div class="personWord">
                        <img src="../../images/报表数据.png">
                        <span th:text="'Phone : '+${session?.telephone}">Phone : 1234564564</span>
                    </div>
                </div>
                <div class="newsBox">

                </div>
            </div>
            <div style="width: 100%;height: 50%;display: flex;align-items: center">
                <div class="infoBox">
                    <img src="../../images/价签基站.png">
                </div>
                <div class="infoBox">
                    <img src="../../images/会员销售分析.png">
                </div>
                <div class="infoBox">
                    <img src="../../images/消费分析.png">
                </div>
                <div class="infoBox">
                    <img src="../../images/章子.png">
                </div>
            </div>

        </div>

    </main>
</body>

<script>
    function outLogin(){
        location.href = '/outLogin'
    }
</script>

</html>